import { Container } from './container';
import { ContainerHelper } from './container-helper/view';
import { Card } from './card/view';
import { ColumnText } from './column-text/view';
import { Detail } from './detail/view';
import { InputNumber } from './input-number/view';
import { InputMoney } from './input-money/view';
import { Input } from './input/view';
import { TextArea } from './textarea/view';
import { DatePicker } from './datepicker/view';
import { RangePicker } from './rangepicker/view';
import { CheckboxSelect } from './checkbox-select/view';
import { RadioSelect } from './radio-select/view';
import { ContractSelectWithConnect as ContractSelect } from './contract-select/view';
import { ImagePicker } from './image-picker/view';
import { FilePicker } from './file-picker/view';
import { DeptSelectWithConnect as DeptSelect } from './dept-select/view';
import { WrapFormItem } from './common/form-item/formItem-decorate';
import { LaberDetail } from './laber-detail/student/view';
import { LaberOutSiderDetail } from './laber-detail/outside/view';
import { LabelInSideDetail } from './laber-detail/inside/view';
import { GroupLaborStudentDeclare } from './group-labor/apply-student/view';
import { GroupLaborOutSiderDeclare } from './group-labor/apply-outside/view';
import { GroupLaborInSideDeclare } from './group-labor/apply-inside/view';
import { OfficialMatter } from './group-official/matter/view';
import { GroupOfficialOnline } from './group-official/online-official/view';
import { RelatedMattersTable } from './related-matters/view';

const components = [
  Container,
  ContainerHelper,
  Card,
  ColumnText,
  Detail,
  InputNumber,
  InputMoney,
  Input,
  TextArea,
  DatePicker,
  RangePicker,
  CheckboxSelect,
  RadioSelect,
  ContractSelect,
  ImagePicker,
  FilePicker,
  DeptSelect,
  LaberDetail,
  LaberOutSiderDetail,
  LabelInSideDetail,
  OfficialMatter,
  GroupOfficialOnline,
  GroupLaborStudentDeclare,
  GroupLaborOutSiderDeclare,
  GroupLaborInSideDeclare,
  RelatedMattersTable,
] as any[];

const componentsWithWrapper = components.map((comp) => {
  return WrapFormItem(comp);
});

export default componentsWithWrapper;
